package com.yin.myproject.core;

/**
 * @author Eason
 * @create 2018-04-08 10:52
 **/
public class Version {

    private Version() {
    }

    private static final String VERSION = "backend-schedule-v1.0";

    public static String getVersion() {
        return VERSION;
    }

    public static boolean isCompatible(String dataVersion) {
        return VERSION.compareTo(dataVersion) >= 0;
    }
}
